package com.itheima.Method;

public class Method02 {
    public static void main(String[] args) {
        eat();
    }
    public static void eat(){
        sleep();
        System.out.println("吃饭!");
    }
    public  static  void  sleep(){
        System.out.println("睡觉!");
    }
}
